package com.foreverwin.mes.lims.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 呆滞时间设置明细
 * </p>
 *
 * @author Max
 * @since 2020-03-09
 */
public class InactiveTimeItem extends Model<InactiveTimeItem> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
   @TableId(value = "HANDLE", type = IdType.INPUT)
   private String handle;
    /**
     * 外键
     */
   @TableField("Z_INACTIVE_TIME_BO")
   private String zInactiveTimeBo;
    /**
     * 模式
     */
   @TableField("PATTERN")
   private String pattern;
    /**
     * 控制时间
     */
   @TableField("CONTROL_TIME")
   private Integer controlTime;
    /**
     * 提醒类型
     */
   @TableField("REMIND_TYPE")
   private String remindType;
    /**
     * 提醒用户组
     */
   @TableField("REMIND_USER_GROUP")
   private String remindUserGroup;
    /**
     * 创建人
     */
   @TableField("CREATOR")
   private String creator;
    /**
     * 修改人
     */
   @TableField("UPDATER")
   private String updater;
    /**
     * 创建日期
     */
   @TableField("CREATED_DATE_TIME")
   private Date createdDateTime;
    /**
     * 更新日期
     */
   @TableField("MODIFIED_DATE_TIME")
   private Date modifiedDateTime;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getzInactiveTimeBo() {
      return zInactiveTimeBo;
   }

   public void setzInactiveTimeBo(String zInactiveTimeBo) {
      this.zInactiveTimeBo = zInactiveTimeBo;
   }

   public String getPattern() {
      return pattern;
   }

   public void setPattern(String pattern) {
      this.pattern = pattern;
   }

   public Integer getControlTime() {
      return controlTime;
   }

   public void setControlTime(Integer controlTime) {
      this.controlTime = controlTime;
   }

   public String getRemindType() {
      return remindType;
   }

   public void setRemindType(String remindType) {
      this.remindType = remindType;
   }

   public String getRemindUserGroup() {
      return remindUserGroup;
   }

   public void setRemindUserGroup(String remindUserGroup) {
      this.remindUserGroup = remindUserGroup;
   }

   public String getCreator() {
      return creator;
   }

   public void setCreator(String creator) {
      this.creator = creator;
   }

   public String getUpdater() {
      return updater;
   }

   public void setUpdater(String updater) {
      this.updater = updater;
   }

   public Date getCreatedDateTime() {
      return createdDateTime;
   }

   public void setCreatedDateTime(Date createdDateTime) {
      this.createdDateTime = createdDateTime;
   }

   public Date getModifiedDateTime() {
      return modifiedDateTime;
   }

   public void setModifiedDateTime(Date modifiedDateTime) {
      this.modifiedDateTime = modifiedDateTime;
   }

   public static final String HANDLE = "HANDLE";

   public static final String Z_INACTIVE_TIME_BO = "Z_INACTIVE_TIME_BO";

   public static final String PATTERN = "PATTERN";

   public static final String CONTROL_TIME = "CONTROL_TIME";

   public static final String REMIND_TYPE = "REMIND_TYPE";

   public static final String REMIND_USER_GROUP = "REMIND_USER_GROUP";

   public static final String CREATOR = "CREATOR";

   public static final String UPDATER = "UPDATER";

   public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";

   public static final String MODIFIED_DATE_TIME = "MODIFIED_DATE_TIME";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "InactiveTimeItem{" +
         "handle = " + handle +
         ", zInactiveTimeBo = " + zInactiveTimeBo +
         ", pattern = " + pattern +
         ", controlTime = " + controlTime +
         ", remindType = " + remindType +
         ", remindUserGroup = " + remindUserGroup +
         ", creator = " + creator +
         ", updater = " + updater +
         ", createdDateTime = " + createdDateTime +
         ", modifiedDateTime = " + modifiedDateTime +
         "}";
   }
}